package xcmg.device.service.vo.warehouse;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class AbnormalInDetailVO {
    private String id;

    private String abnormalNo;

    private String materialsNo;

    private String materialsDes;

    private String materialsType;

    private String unit;

    private BigDecimal qty;

    private BigDecimal realQty;

    private Integer state;

    private Date createDate;

    private BigDecimal printNum;

    private String createId;

    private String orgId;

    private String remark;

    private Integer errorRow;
    private BigDecimal price;
    private BigDecimal totalPrice;

    private String stockLocation;

    private String stockUserName;

    private Integer rownum;

    private BigDecimal postAmount;

    private String voucherNo;

    private String locationCode;

    private String locationDesc;

    private String crmOrder;

    //国家
    private String country;

    //机型
    private String machineModel;

    //采购合同号
    private String purchaseContractNo;

    private String materialsDesEn;

    /**
     * 零件简号
     */
    private String materialsShortNo;

    /**
     * 零件所属车型
     */
    private String modelCode;

    private String barCode;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
